<?php

namespace StudyBuddy\Controllers;


use StudyBuddy\Responder;
use StudyBuddy\WebPage;
use StudyBuddy\RegBlockQuickReg;

/**
 * This controller class is usually called
 * via ajax to get the quick registration form html
 *
 */
class Getregform extends WebPage
{


	protected function main(){
		d('cp');
		$o = new RegBlockQuickReg($this->oRegistry);
		$s = $o->getBlock();
		
		$aRet = array('quickreg' => $s);

		Responder::sendJSON($aRet);
	}
}